package com.ultrapower.model;

import com.ultrapower.commons.utils.JsonUtils;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 短信日志
 *
 */
public class SmsLog implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 主键id */
	private int id;
	/** 手机号 */
	private String telnum;
	/** 是否发送过短信（0：未发送，1：已发送） */
	private int issendmsg;
	/** 是否回复过短信（0：未回复，1：已回复） */
	private int isreplymsg;
	/** 短信回复状态(内容)，主要是记录成功还是失败 */
	private String replystate;
	/** 是否已经停机(0:未停机，1:已停机) */
	private int isdowntime;
	/** 创建时间 */
	private Date createTime;
	
	public int getIsdowntime() {
		return isdowntime;
	}

	public void setIsdowntime(int isdowntime) {
		this.isdowntime = isdowntime;
	}

	public String getTelnum() {
		return telnum;
	}

	public void setTelnum(String telnum) {
		this.telnum = telnum;
	}

	public int getIssendmsg() {
		return issendmsg;
	}

	public void setIssendmsg(int issendmsg) {
		this.issendmsg = issendmsg;
	}

	public int getIsreplymsg() {
		return isreplymsg;
	}

	public void setIsreplymsg(int isreplymsg) {
		this.isreplymsg = isreplymsg;
	}

	public String getReplystate() {
		return replystate;
	}

	public void setReplystate(String replystate) {
		this.replystate = replystate;
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return JsonUtils.toJson(this);
	}
}
